package com.xingdian.xingdianhulianserver.mapper;

import com.xingdian.xingdianhulianserver.common.QueryObject;
import com.xingdian.xingdianhulianserver.vo.IpInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IpInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(IpInfo record);

    int insertSelective(IpInfo record);

    IpInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(IpInfo record);

    int updateByPrimaryKey(IpInfo record);

    //查询授权信息
    List<IpInfo> findinfo(QueryObject queryObject);
    //统计授权信息数量
    int countInfo(QueryObject queryObject);
    //删除授权信息
    void delInfo(Integer id);
}